<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../ht-css/Project.css" />
    <link rel="stylesheet" type="text/css" href="../../ht-css/drop-down.css" />

    <!--[if IE 6]>
    <script type="text/javascript" src="../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>客户信息检索</title>
</head>
<body data-id="8">
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页  <span class="c-gray en">&gt;</span>客户管理<span class="c-gray en">&gt;</span> 签约客户检索 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-container">
    <form class="ml-20 mr-20" id="form-member"  method="post">
        <div class="bg-1 bk-gray pb-10">
            <div class="va-m pl-15 lh-50 f-16">
                <strong>客户信息检索</strong>
            </div>
            <div class="lh-30 mb-10">
                <table class="table_li mb-10 table">
                    <thead class="text-l">
                    <tr>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="width: 69px;" class="form-label f-l label-4">客&nbsp;户&nbsp;I&nbsp;D：</label>
                                <div class="formControls col-sm-9">
                                    <input type="text" class="input-text radius" id="kehu_id" name="kehu_id"  placeholder="请输入客户ID" onKeyUp="value=value.replace(/[\W]/g,'')" oncontextmenu="return false" maxlength="10">
                                </div>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="width: 70px;" class="form-label f-l label-4">客户名称：</label>
                                <div class="formControls col-sm-9">
                                    <input type="text" class="input-text radius" id="kehu_name" name="kehu_name"   placeholder="请输入客户姓名"   oncontextmenu="return false" maxlength="30">
                                </div>
                            </div>
                        </td>
                        <td class="col-3-1">

                            <div class="row ml-10">
                                <label class="form-label f-l pt-5 text-r w-75">客户等级：</label>
                                <div class="input_box sel_box sel_box02 col-xs-8 col-sm-9">
                                    <input  type="text" class="dataval input-text radius f-l w-180 kild" readonly>
                                    <i class="icon_arrow"></i>
                                    <span class="placeholder02"><span class="all-radius">全部</span></span>
                                    <ul class="ulbox item" style="display: none">
                                        <li class=""><input type="checkbox" crmCustomerId="S级,A级,B级,C级,D级"><p class="checkboxall">全选</p></li>
                                        <li class="lidata" crmCustomerId="S级" crmCustomername="S级别"><input type="checkbox" class="evetyipt"><span>S级别</span></li>
                                        <li class="lidata" crmCustomerId="A级" crmCustomername="A级别" ><input type="checkbox" class="evetyipt"><span>A级别</span></li>
                                        <li class="lidata" crmCustomerId="B级" crmCustomername="B级别" ><input type="checkbox" class="evetyipt"><span>B级别</span></li>
                                        <li class="lidata" crmCustomerId="C级" crmCustomername="C级别"><input type="checkbox" class="evetyipt"><span>C级别</span></li>
                                        <li class="lidata" crmCustomerId="D级" crmCustomername="D级别" ><input type="checkbox" class="evetyipt"><span>D级别</span></li>
                                    </ul>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <!--<td class="col-3-1">
                            <div class="row ml-10">
                                <label class="form-label f-l label-4">项目名称：</label>
                                <div class="formControls col-sm-9">
                                    <input type="text" class="input-text radius" id="project"  name="hetong"   placeholder="请输入项目名称" >
                                </div>
                            </div>
                        </td>-->
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="width: 69px;" class="form-label f-l label-4">运营经理：</label>
                                <div class="formControls col-sm-9">
                                    <input type="text" class="input-text radius" id="operate_manager"   oninput="myFunction('2')"  placeholder="请输入运营经理" onkeyup="value=value.replace(/[^\a-zA-Z\u4E00-\u9FA5]/g,'')" autocomplete="off">
                                    <ul class="relation radius guanlian" id="tuan_xiao" style="width:93%;z-index: 1">
                                        <li>无数据</li>
                                    </ul>
                                </div>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="width: 70px;" class="form-label f-l label-4">销售主管：</label>
                                <div class="formControls col-sm-9 pos-r">
                                    <input type="text" class="input-text radius" oninput="myFunction('1')" id="sale_manager"  placeholder="请输入销售主管" autocomplete="off">
                                    <ul class="relation radius guanlian" id="tuan" style="width:93%;z-index: 1">
                                        <li>无数据</li>
                                    </ul>
                                </div>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="width: 71px;" class="form-label f-l label-4">客户类型：</label>
                                <select id="customerType" class="select radius f-l ml-10" name="brandclass" size="1" style="width:70%; height: 30px;">
                                    <option value="" selected>不限</option>
                                    <option value="工程">工程</option>
                                    <option value="工矿">工矿</option>
                                    <option value="其它">其它</option>
                                    <option value="物业">物业</option>
                                    <option value="商店">商店</option>
                                </select>
                            </div>
                        </td>
                    </tr>
                    <tr>

                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="width: 60px;" class="form-label f-l label-4">服&nbsp;务&nbsp;仓&nbsp;：</label>
                                <div class="formControls col-sm-9">
                                    <select id="shippingWarehouseno" class="select radius f-l ml-10" name="brandclass" size="1" style="width:70%; height: 30px;">
                                        <option selected value="-1">不限</option>
                                        <option value="0">平行仓</option>
                                        <!--<option value="1">北京仓</option>
                                        <option value="2">天津仓</option>
                                        <option value="4">郑州仓</option>
                                        <option value="5">济南仓</option>
                                        <option value="9">西安仓</option>
                                        <option value="10">重庆仓</option>-->
                                    </select>
                                </div>
                            </div>
                        </td>
                        <!--<td colspan="2" class="col-3-2">
                            <div class="row ml-10">
                                <label class="form-label f-l label-4">签约日期：</label>
                                <input type="text" onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'logmax\')||\'%y-%M-%d\'}' })" id="logmin" class="input-text Wdate radius f-l ml-10" style="width:120px;">
                                <span class="f-l pd-5">~</span>
                                <input type="text" onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'logmin\')}',maxDate:'%y-%M-%d' })" id="logmax" class="input-text Wdate radius f-l" style="width:120px;">
                            </div>
                        </td>-->
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label  class="form-label f-l label-4">入驻状态：</label>
                                <div class="formControls col-sm-9 pos-r">
                                    <select id="isEnter" class="select radius f-l ml-10" name="brandclass" size="1" style="width:70%; height: 30px;">
                                        <option selected value="">不限</option>
                                        <option value="20">未入驻</option>
                                        <option value="30">入驻云采</option>
                                        <option value="10">入驻数采</option>
                                    </select>
                                </div>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="width: 71px;" class="form-label f-l label-4">客户归属：</label>
                                <select id="ascription_lsit" class="select radius f-l ml-10" name="brandclass" size="1" style="width:70%; height: 30px;">
                                    <script id="ascription_bob" type="text/x-dot-template">
                                        <option disabled="disabled" selected>请选择</option>
                                        {{if( it && it.length>0 ){ }}
                                        {{ for(var i=0; i< it.length; i++) { }}
                                        <option value="{{=it[i].id}}">{{=it[i].organization_name}}</option>
                                        {{ } }}
                                        {{ }else{ }}
                                        <option>没有数据</option>
                                        {{ } }}
                                    </script>
                                </select>
                            </div>
                        </td>
                    </tr>
                    <tr>

                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="width: 80px;" class="form-label f-l label-4">限制类型：</label>

                                <select id="limitType" class="select radius f-l ml-3" name="brandclass" size="1" style="width:30%; height: 30px;">
                                    <option selected value="">全部</option>
                                    <option value="10">不限制货到付款</option>
                                    <option value="20">限制货到付款</option>
                                </select>

                            </div>
                            <select id="isRestrict" class="select radius f-l ml-3" name="brandclass" size="1" style="width:30%; height: 30px;">
                                <option selected value="">全部</option>
                                <option value="2">不限制发货</option>
                                <option value="1">限制发货</option>
                            </select>
                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label  class="form-label f-l label-4">入驻时间：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text Wdate radius ml-10" placeholder="请选择时间" autocomplete="off"   onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'createTimeEnd\')}',startDate:'%y-%M-%d                                       00:00',dateFmt:'yyyy-MM-dd',alwaysUseStartDate:true})" id="createTime" style="width:120px;margin-left: 20px;">
                                    <span>~</span>
                                    <input type="text" class="input-text Wdate radius" placeholder="请选择时间" autocomplete="off"   onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'createTime\',{m:+1})}',endDate:'%y-%M-%d                                          00:00',dateFmt:'yyyy-MM-dd' })"  id="createTimeEnd" style="width:120px;">
                                </div>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="width: 69px;" class="form-label f-l label-4">客户代码：</label>
                                <div class="formControls col-sm-9">
                                    <input type="text" class="input-text radius" id="customerCode" name="customerCode"  placeholder="请输入客户代码" >
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label  class="form-label f-l label-4" style="width: 64PX;">CRM状态：</label>
                                <div class="formControls col-sm-9 pos-r">
                                    <select id="forbidden" class="select radius f-l ml-10" name="brandclass" size="1" style="width:70%; height: 30px;">
                                        <option selected value="">请选择</option>
                                        <option value="0">启用</option>
                                        <option value="1">禁用</option>
                                    </select>
                                </div>
                            </div>
                        </td>
                    </tr>
                    </thead>
                </table>
            </div>
            <div class="text-c pb-20 pt-10">
                <input  id="bottm" type="submit" type="button" class="btn btn-secondary radius size-S powerButton 160" value="查&nbsp;&nbsp;询">
                <input name="" type="reset" class="btn radius size-S ml-10 powerButton 160" onclick="resetbtn()" value="重&nbsp;&nbsp;置">
            </div>
            <!--      <input type="button" onclick="upLoadFile()"  class="btn btn-secondary radius size-S powerButton 525"  style="margin-left: 14px;" value="特殊账号关系导入">
             <input id="fileUp" type="file" onchange="putDataToPage()" style="display: none">
             <a   class="btn btn-secondary radius size-S powerButton 526"  style="margin-left: 17px;" href='https://'+ window.location.host +'/baseservice/downLoadFromUrl?urlStr=https://fsyuncai-file.oss-cn-beijing.aliyuncs.com/common/20191129175703106488.xlsx&fileName="特殊账号导入' >特殊账号导入模板<a/>-->
            <input id="fileUp2" type="file" onchange="putDataToPage2()" style="display: none">
            <table class="table table-border table-bg table-hover table-sort mt-10" id="datatable">
                <thead>
                <tr class="text-c">
                    <th width="50">序列</th>
                    <th width="50">客户ID</th>
                    <th width="50">客户代码</th>
                    <th width="50">客户名称</th>
                    <th width="100">客户等级</th>
                    <th width="100">客户归属</th>
                    <th width="50">客户类型</th>
                    <th width="50">关联主客户</th>
                    <th width="50">发货仓</th>
                    <th width="60">限制类型</th>
                    <th width="60">开发票依据</th>
                    <th width="60">更新时间</th>
                    <th width="60">入驻状态</th>
                    <th width="60">状态</th>
                    <th width="60">操作</th>
                </tr>
                </thead>
                <tbody class="shun">
                </tbody>
            </table>
                <div class="mt-40"></div>
                <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                    <div class="f-r pageturning M-box3"></div>
                </div>
        </div>
    </form>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script src="../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<!--引入分页-->
<link rel="stylesheet" href="../../ht-css/contract/paginationnn.css">
<script src="../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script src="../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../ht-js/Customer/Customer.js?rev=@@hash"></script>
<!--权限控制-->
<script type="text/javascript" src="../../ht-js/power.js?rev=@@hash"></script>
<script type="text/javascript" src="../../ht-js/warehouse.js?rev=@@hash"></script>
<script>
    $(function(){
        Customerquery()
        ascription()
    });
</script>
</body>
</html>